package com.allenkerr.service;

import java.util.Optional;
import java.util.concurrent.Future;

import com.allenkerr.model.Person;

/**
 * @author 小柯
 * @date 2017/12/5
 */
public interface IPersonService {

  Person savePerson(Person person);

  Person findPersonByUuid(String uuid);

  Person updatePersonByUuid(String uuid);

  Optional<Person> findPersonById(Integer id);

  Future<Person> asyncFindPersonByUuid(String uuid);

}
